package com.lej.home

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.lej.dataservice.club.bean.main.home.SpaceDescItem

/**
 *  author: cjq
 *  date  : 2022/10/4 0004
 *  desc  :
 */
class SpaceDetailAdapter(resId:Int): BaseQuickAdapter<SpaceDescItem, BaseViewHolder>(resId){
    override fun convert(holder: BaseViewHolder, item: SpaceDescItem) {
        holder.setText(R.id.tv_title,item.itemTitle)
        holder.setText(R.id.tv_content,item.itemContent)
    }
}